class_name PropertyModifier
extends Resource

# 标记，用于区别来源
@export var tag:String
@export var value:float
# 是否是百分比类型
@export var is_percent:bool = false
# 唯一标识
var id:int

func init(tag:String,value:float,is_percent:bool = false) -> void:
	self.id = get_instance_id()
	self.tag = tag
	self.value = value
	self.is_percent = is_percent
